package inet.db.pool;

import inet.util.Encrypter;
import java.io.IOException;
import java.util.Properties;

public class DBConfig
{
  public static boolean databaseEnabled = true;
  
  public static String db_driver_Lottery;
  public static String db_url_Lottery;
  public static String db_user_Lottery;
  public static String db_pass_Lottery;
  
  public static String db_driver_Service;
  public static String db_url_Service;
  public static String db_user_Service;
  public static String db_pass_Service;
  
  public static String db_driver_TT;
  public static String db_url_TT;
  public static String db_user_TT;
  public static String db_pass_TT;
  
  public static String db_driver_BD;
  public static String db_url_BD;
  public static String db_user_BD;
  public static String db_pass_BD;
  
//  public static String db_driver_smpp = "oracle.jdbc.driver.OracleDriver";
//  public static String db_url_smpp = "jdbc:oracle:thin:@localhost:1521:sms";
//  public static String db_user_smpp = "bongda";
//  public static String db_pass_smpp = "softsms2009";
  
  public static String db_driver_smpp = "oracle.jdbc.driver.OracleDriver";
  public static String db_url_smpp = "jdbc:oracle:thin:@10.0.0.11:1521:sms";
  public static String db_user_smpp = "bongda";
  public static String db_pass_smpp = "softsms2009";
  


  static
  {
    
//    db_driver_Service = "oracle.jdbc.driver.OracleDriver";
//    db_url_Service = "jdbc:oracle:thin:@localhost:1521:sms";
//    db_user_Service = "bongda";
//    db_pass_Service = "softsms2009";
//    
//    db_driver_Lottery = "oracle.jdbc.driver.OracleDriver";
//    db_url_Lottery = "jdbc:oracle:thin:@localhost:1521:sms";
//    db_user_Lottery = "softsms";
//    db_pass_Lottery = "softsms2009";
    
    db_driver_Service = "oracle.jdbc.driver.OracleDriver";
    db_url_Service = "jdbc:oracle:thin:@10.0.0.11:1521:sms";
    db_user_Service = "bongda";
    db_pass_Service = "bongda2006";
    
    db_driver_Lottery = "oracle.jdbc.driver.OracleDriver";
    db_url_Lottery = "jdbc:oracle:thin:@10.0.0.11:1521:sms";
    db_user_Lottery = "softsms";
    db_pass_Lottery = "softsms2009";

  }

  public static boolean isDatabaseEnabled()
  {
    return databaseEnabled;
  }


}